A5Storage::DataContainer::DecryptConnectionString Method

Syntax

A5Storage::DataContainer::DecryptConnectionString as A5Storage::CallResult (BYREF DecryptedText as C, ConnectionStringIn as C [, PassphraseIn as C])

Arguments

BYREF DecryptedTextCharacter

The decrypted connection string.

ConnectionStringInCharacter

An encrypted connection string.

PassphraseInCharacter

The passphrase required to decrypt the connection string.

Returns

ResultA5Storage::CallResult

Information about whether or not the operation succeed. Result.Success with be .T. if the operation succeeds, otherwise .F.

Description

Decrypts a connection string that has been encrypted using a passphrase.

Example

dim cr as CallResult
	dim ConnectionString as C
	dim ResultString as C

	cr = A5Storage::DataContainer::DecryptConnectionString(	ResultString, ConnectionString)
? cr.Success
= .T.